cmake_minimum_required(VERSION 3.6)
project(cs_app)

set(CMAKE_CXX_STANDARD 11)

#set(SOURCE_FILES chapter-10/csapp.c chapter-10/csapp.h chapter-10/stdcpy.c)
set(SOURCE_FILES chapter-10/rio.h chapter-10/rio.c chapter-11/socket_tool.c chapter-11/socket_tool.h chapter-11/echoserver.c)

add_executable(cs_app ${SOURCE_FILES})